package host.abetsy.recast.controller;

import host.abetsy.recast.service.QuarkOperationService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.annotation.Resource;

@Controller
public class QuarkRecastController {

    @Resource
    private QuarkOperationService quarkOperationService;

    @ResponseBody
    @GetMapping("/load")
    public String load() {
        return quarkOperationService.load();
    }

    @ResponseBody
    @GetMapping("/update")
    public String update() {
        return quarkOperationService.update();
    }

}
